package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 拥有资产
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-04-19 23:38:24
 */
@TableName("yongyouzichan")
public class YongyouzichanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public YongyouzichanEntity() {
		
	}
	
	public YongyouzichanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 资产名称
	 */
					
	private String zichanmingcheng;
	
	/**
	 * 资产类型
	 */
					
	private String zichanleixing;
	
	/**
	 * 资产数量
	 */
					
	private Integer zichanshuliang;
	
	/**
	 * 资产价值
	 */
					
	private Float zichanjiazhi;
	
	/**
	 * 资产介绍
	 */
					
	private String zichanjieshao;
	
	/**
	 * 学院编号
	 */
					
	private String xueyuanbianhao;
	
	/**
	 * 学院名称
	 */
					
	private String xueyuanmingcheng;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：资产名称
	 */
	public void setZichanmingcheng(String zichanmingcheng) {
		this.zichanmingcheng = zichanmingcheng;
	}
	/**
	 * 获取：资产名称
	 */
	public String getZichanmingcheng() {
		return zichanmingcheng;
	}
	/**
	 * 设置：资产类型
	 */
	public void setZichanleixing(String zichanleixing) {
		this.zichanleixing = zichanleixing;
	}
	/**
	 * 获取：资产类型
	 */
	public String getZichanleixing() {
		return zichanleixing;
	}
	/**
	 * 设置：资产数量
	 */
	public void setZichanshuliang(Integer zichanshuliang) {
		this.zichanshuliang = zichanshuliang;
	}
	/**
	 * 获取：资产数量
	 */
	public Integer getZichanshuliang() {
		return zichanshuliang;
	}
	/**
	 * 设置：资产价值
	 */
	public void setZichanjiazhi(Float zichanjiazhi) {
		this.zichanjiazhi = zichanjiazhi;
	}
	/**
	 * 获取：资产价值
	 */
	public Float getZichanjiazhi() {
		return zichanjiazhi;
	}
	/**
	 * 设置：资产介绍
	 */
	public void setZichanjieshao(String zichanjieshao) {
		this.zichanjieshao = zichanjieshao;
	}
	/**
	 * 获取：资产介绍
	 */
	public String getZichanjieshao() {
		return zichanjieshao;
	}
	/**
	 * 设置：学院编号
	 */
	public void setXueyuanbianhao(String xueyuanbianhao) {
		this.xueyuanbianhao = xueyuanbianhao;
	}
	/**
	 * 获取：学院编号
	 */
	public String getXueyuanbianhao() {
		return xueyuanbianhao;
	}
	/**
	 * 设置：学院名称
	 */
	public void setXueyuanmingcheng(String xueyuanmingcheng) {
		this.xueyuanmingcheng = xueyuanmingcheng;
	}
	/**
	 * 获取：学院名称
	 */
	public String getXueyuanmingcheng() {
		return xueyuanmingcheng;
	}

}
